<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>锐信内容管理系统-数据访问日志管理</title>
<%@include file="/WEB-INF/pages/common/taglibs.jsp"%>
<link rel="stylesheet" type="text/css" href="${ctx}resources/css/list.css" /> 
<link rel="stylesheet" type="text/css" href="${ctx}resources/css/datepicker/datepicker.css" /> 
<script type="text/javascript" src="${ctx}resources/js/table.js"></script>
<script type="text/javascript" src="${ctx}resources/js/page.js"></script>
<script type="text/javascript" src="${ctx}resources/js/datepicker/wdatepicker.js"></script>
<style type="text/css">
a {
	color: #000;
	text-decoration: none;
}
</style>
</head>
<script type="text/javascript">
	function deleteLogo(id){
		if(!confirm('删除将无法恢复,确定要删除吗？')){
			return ;
		}
		var pageNo = $("#pageNo").val();
		$.ajax({
			  type: 'POST',
			  url:"${ctx}log/digital/delete.htm",
			　 data:{pageNo:pageNo,ids:id},
			  success: function(data){
				  alert(data);
				  window.location.reload();
			  }
			});
	}
</script>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <form id="mainForm" action="${ctx}log/digital/list.htm" method="POST">
    <input type="hidden" name="pageNo" id="pageNo" value="${page.pageNo}" />
    <tr>
      <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="6%" height="19" valign="bottom"><div align="center"><img src="images/tb.gif" width="14" height="14" /></div></td>
                        <td width="94%" valign="bottom"><span class="STYLE1"> 数据日志管理基本信息列表</span></td>
                      </tr>
                    </table></td>
                  <td><div align="right"><span class="STYLE1">
                      <input type="checkbox" name="checkbox11" id="selectAll" />
                      全选      &nbsp;&nbsp;<span id="delete" url="   " style="cursor: pointer;"> <img src="${ctx}resources/images/del.gif" width="10" height="10" /> 删除    &nbsp;&nbsp;</span></span> <span class="STYLE1"> &nbsp;</span></div></td>
                </tr>
              </table></td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td><table width="100%" border="0" cellpadding="0" cellspacing="1"  class="tbl_list">
          <tr style="padding-top: 2px;text-align: left;">
            <th class="STYLE19" bgcolor="#FFFFFF" colspan="15"> <span style="padding-left: 40px;">APPID:
              <input width="50px" type="text" name="filter_LIKES_ab" value="${param['filter_LIKES_ab']}"></span>
               <span>用户ID: <input width="50px" type="text" name="filter_LIKES_uid" value="${param['filter_LIKES_uid']}"> </span> 
               <span>栏目ID: <input width="50px" type="text" name="filter_LIKES_nid" value="${param['filter_LIKES_nid']}"> </span>
               <span>记录时间:<input type="text" name="filter_GED_ctime" value="${param['filter_GED_ctime']}"  class="Wdate" type="text" readonly="readonly" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})">-<input type="text" name="filter_LED_ctime" value="${param['filter_LED_ctime']}"  class="Wdate" type="text" readonly="readonly" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"></span> 
              <span>
              <input type="button"
							name="" onclick="search();" class="button" value="查询">
              </span> </th>
          </tr>
          <tr>
            <th height="20" bgcolor="d3eaef" class="STYLE10"  width="10px;"><div align="center">
                <input type="checkbox" name="checkbox" id="checkall" />
              </div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6" width="10px;"><div align="center"><span class="STYLE10">APPID</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">会话ID</span></div></th>
            <th height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">渠道id</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">设备ID</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">平台</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6" width="20px;"><div align="center"><span class="STYLE10">IP</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">语言版本</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">系统平台</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">系统版本号</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">设备型号</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">用户id</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">客户端版本号</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">数据节点</span></div></th>
            <th height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">记录时间</span></div></th>
            <th  height="20" bgcolor="d3eaef" class="STYLE6"  width="50px;"><div align="center"><span class="STYLE10">操作</span></div></th>
          </tr>
          <c:forEach items="${page.result}" var="logo">
            <tr>
              <td ><div align="center">
                  <input type="checkbox" name="objId"  value="${logo.id}"/>
                </div></td>
              <td ><div align="center">${logo.ab}</div></td>
              <td ><div align="center">${logo.asid}</div></td>
              <td ><div align="center">${logo.cid}</div></td>
              <td ><div align="center">${logo.did}</div></td>
              <td ><div align="center">${logo.flat}</div></td>
              <td ><div align="center">${logo.ip}</div></td>
              <td ><div align="center">${logo.language}</div></td>
              <td ><div align="center">${logo.sm}</div></td>
              <td ><div align="center">${logo.sv}</div></td>
              <td ><div align="center">${logo.ua}</div></td>
              <td ><div align="center">${logo.uid}</div></td>
              <td ><div align="center">${logo.version}</div></td>
              <td ><div align="center">${logo.nid}</div></td>
              <td ><div align="center">
                  <fmt:formatDate value="${logo.ctime}" pattern="yyyy-MM-dd HH:mm:ss"/>
                </div></td>
            <td><div align="center"><a href="#" onclick="deleteLogo('${logo.id}')">删除</a></div></td>
            </tr>
          </c:forEach>
        </table></td>
    </tr>
    <tr>
      <td height="30"><%@include file="/WEB-INF/pages/common/footer.jsp"%></td>
    </tr>
  </form>
</table>
</body>
</html>
